package redPacket;

import javax.swing.*;

/**
 * @description: ToDo
 * @author: marin
 * @time: 2020/7/3 9:02
 */
public class RedPacketFrame extends JFrame {
    public String ownerName = "谁谁谁谁";
    OpenMode openMode = null;
    public RedPacketFrame(String title) {
        super(title);
        init();// 页面相关的初始化操作
    }/* set方法 */
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }
    public void setOpenMode(OpenMode openMode) {
        this.openMode = openMode;
    }

    public void init(){
        System.out.println("红包已出现");
    }
}
